package com.example.pm.ending.server.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class ServeAddNewDTO implements Serializable {

    /**
     * 服务编号
     * */
    @ApiModelProperty(value = "服务编号", required = true)
    @NotNull(message = "添加服务编号失败，必须添加服务编号！")
    private String orderNumber;
    /**
     * 服务描述
     * */
    @ApiModelProperty(value = "服务描述", required = true)
    @NotNull(message = "添加服务描述失败，必须添加服务描述！")
    private String description;
    /**
     * 服务图片
     * */
    @ApiModelProperty(value = "服务图片", required = true)
    @NotNull(message = "添加服务图片失败，必须服务图片图片！")
    private String image;
    /**
     * 地点
     * */
    @ApiModelProperty(value = "地点", required = true)
    @NotNull(message = "添加地点失败，必须填写地点！")
    private String place;
}

